/*
 * Footer.h
 *
 *  Created on: Jul 5, 2010
 *      Author: bubuntux
 */

#ifndef FOOTER_H_
#define FOOTER_H_

#include <ncurses.h>
#include <time.h>
#include "Ui.h"
#include "Field.h"

class Footer {
private:
	time_t rawtime;
public:
	WINDOW *win;
	Field left, center, rigth;
	unsigned int bottom, padding;
	Footer(Field new_left = Field("bubuntux@gmail.com"), Field new_center = Field(
			"www.twitter.com/Bubuntux"), Field new_rigth = Field(), WINDOW *new_win =
			stdscr, unsigned int new_padding = 5, unsigned int new_bottom = 1);
	void print();
	void refreshTime();
	virtual ~Footer();
};

#endif /* FOOTER_H_ */
